package com.cz.modules.jxc.dao;

import com.cz.modules.jxc.entity.JxcSaleOrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 销售流水账
 * 
 * @author Cz
 * @email 
 * @date 2020-04-16 13:42:40
 */
@Mapper
public interface JxcSaleOrderDao extends BaseMapper<JxcSaleOrderEntity> {

    JxcSaleOrderEntity xseTodayCount(String startTime);

    JxcSaleOrderEntity xseCount(@Param("startTime") String startTime, @Param("endTime") String endTime,@Param("shopCodeList") List<String> shopCodeList);

    List<JxcSaleOrderEntity> xlChart(@Param("startTime") String startTime, @Param("endTime") String endTime,@Param("shopCodeList") List<String> shopCodeList);

}
